package com.quanyan.ic.vendingMachine.model;

import java.util.Date;

/**
 * Created by zhuo.shi on 2017/8/15.
 */
public class GoodsOperateRecord {

    private Integer placeId;
    private String placeOrderId;        //订单号
    private String goodsId;             //商品uuid
    private Integer operateCount;       //操作数量
    private Integer opBeforeCount;      //售货机操作前此商品库存
    private Integer opAfterCount;       //售货机操作后此商品库存
    private Integer operateType;        //1：销售 10：商品售卖机补货入库 11： 商品售卖机清货出库
    private String remark;
    private Date inputTime;
    private String placeStore;          //售货机编号

    public Integer getPlaceId() {
        return placeId;
    }

    public void setPlaceId(Integer placeId) {
        this.placeId = placeId;
    }

    public String getPlaceOrderId() {
        return placeOrderId;
    }

    public void setPlaceOrderId(String placeOrderId) {
        this.placeOrderId = placeOrderId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getOperateCount() {
        return operateCount;
    }

    public void setOperateCount(Integer operateCount) {
        this.operateCount = operateCount;
    }

    public Integer getOpBeforeCount() {
        return opBeforeCount;
    }

    public void setOpBeforeCount(Integer opBeforeCount) {
        this.opBeforeCount = opBeforeCount;
    }

    public Integer getOpAfterCount() {
        return opAfterCount;
    }

    public void setOpAfterCount(Integer opAfterCount) {
        this.opAfterCount = opAfterCount;
    }

    public Integer getOperateType() {
        return operateType;
    }

    public void setOperateType(Integer operateType) {
        this.operateType = operateType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getInputTime() {
        if (this.inputTime == null) {
            this.inputTime = new Date();
        }
        return inputTime;
    }

    public void setInputTime(Date inputTime) {
        this.inputTime = inputTime;
    }

    public String getPlaceStore() {
        return placeStore;
    }

    public void setPlaceStore(String placeStore) {
        this.placeStore = placeStore;
    }
}
